import uuid
import binascii
# make a random UUID
str=uuid.uuid1().bytes
print (str)
print (len(str))
print (uuid.uuid1().fields)

print (uuid.uuid1().urn)

time_low,time_mid,time_hi_version, clock_seq_hi_variant,clock_seq_low,node = uuid.uuid1().fields

s="{:d}{:d}{:d}".format(time_low,time_mid,time_hi_version)
print(s)
a = time_low
print (type(a))


#print(str(a))
print(uuid.uuid1().fields)
print(uuid.uuid1().fields)

"""
time_low the first 32 bits of the UUID 
time_mid the next 16 bits of the UUID 
time_hi_version the next 16 bits of the UUID 
clock_seq_hi_variant the next 8 bits of the UUID 
clock_seq_low the next 8 bits of the UUID 
node the last 48 bits of the UUID 
time the 60-bit timestamp 
clock_seq the 14-bit sequence number 
"""

# 5615496409315879658